package com.verify.emun;

public enum T2261_2 {
    SINGLE("未婚"),
    OTHER("其他"),
    DIVORCED("离婚"),
    WIDOWED("丧偶"),
    MARRIED("已婚");
    private final String name;

    T2261_2(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public static boolean contains(String value) {
        for (T2261_2 type : T2261_2.values()) {
            if (type.getName().equals(value)) {
                return true;
            }
        }
        return false;
    }
}
